package ${package}.service;

import ${package}.dao.${moduleName}Dao;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ${moduleName}Service implementation.
 */
@Service
public class ${moduleName}ServiceImpl implements ${moduleName}Service {
    /**
     * Service logger.
     */
    private Log logger = LogFactory.getLog(this.getClass());

    /**
     * Service info string.
     */
    public static final String SERVICE_INFO = ${moduleName}ServiceImpl.class.getName() + ", $Revision: $";

    @Override
    public String getServiceInfo() {
        logger.debug(${moduleName}ServiceImpl.class.getName() + " Info requested.");

        return SERVICE_INFO;
    }

    /**
     * Autowired ${moduleName}Dao instance.
     */
    @Autowired
    private ${moduleName}Dao ${artifactId}Dao;
}
